﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LogManager.Base.Data
{
    /// <summary>
    /// Does build up logs based on some data that comes from e.g a configuration file
    /// </summary>
    public interface ILogBuilder
    {
        /// <summary>
        /// Builds a log with the given information.
        /// </summary>
        /// <param name="server">Server that contains the log</param>
        /// <param name="logName">Name of the log</param>
        /// <param name="logType">Configured Type of the log</param>
        /// <returns></returns>
        ILog Build(IServer server, string logName, string logType);
    }
}
